package com.yykj.prescription.server.model.repository.template;

import com.yykj.prescription.server.model.entity.template.TemplateDetailChina;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TemplateDetailChinaRepository extends JpaRepository<TemplateDetailChina,Integer> {
    List<TemplateDetailChina> findAllByTempId(Integer id);
    List<TemplateDetailChina> findAllByTempIdIn(List<Integer> tempIds);
}
